import { HashRouter } from 'react-router-dom';
import { ConfigProvider } from 'antd';
import zh from 'antd/es/locale/zh_CN';

import RouteConfig from './router';

function App() {
  return (
    <HashRouter>
      <ConfigProvider locale={zh}>
        <RouteConfig />
      </ConfigProvider>
    </HashRouter>
  );
}

export default App;
